package com.quanquan.user.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 功能描述: 自助积分实体
 *
 * @ClassName: AbnormalConsumption
 * @Author: xiongjunbao
 * @Date: 2019-04-11 17:48
 * @Version: V1.0
 */
@Data
@Entity
@Table(name = "oo_abnormal_consumption")
public class AbnormalConsumption implements Serializable {

    /**
     * 主键
     */
    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    /**
     * 创建时间
     */
    @Column(name = "create_time", nullable = false, length = 32)
    private String createTime;

    /**
     * 用户id
     */
    @Column(name = "user_id",length = 128)
    private String userId;

    /**
     * 用户名
     */
    @Column(name = "user_name",nullable = false,length = 64)
    private String userName;

    /**
     * 消费笔数
     */
    @Column(name = "count",length = 32)
    private String count;

    /**
     * 商户id
     */
    @Column(name = "store_id",length = 64)
    private String storeId;


    /**
     * 商户名称
     */
    @Column(name = "store_name",length = 64)
    private String storeName;

    /**
     * 用户手机号
     */
    @Column(name = "phone",length = 64)
    private String phone;

}
